<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%
	String basePath = request.getContextPath();
	String path = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+basePath+"/";
	request.setAttribute("path",path);
%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!doctype html>
<html>
<head>
	<meta charset="utf-8">
	<meta name="viewport" content="initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no"/>
	<meta name="format-detection" content="telephone=no,address=no,email=no"/>
	<meta name="keywords" content="" />
	<meta name="description" content="" />
	<title>待拍摄</title>
	<script type="text/javascript" src="js/jquery1.12.js"></script>
	<link href="css/style.css" rel="stylesheet" media="all">
	<link rel="shortcut icon" href="img/favicon.png">
</head>
<body>
	<header class="top_header">
		<h1><a href="./kaPersonal" href="#" class="go_back"></a><span class="black_text">待拍摄</span></h1>
	</header><!-- header -->
	
		<c:choose>  
   			<c:when test="${empty orderThemeList}">
   			<div class="content_wrap katoshoot_go kaprompt_wrap">
   			 <div class="kaprompt_txt">
			<img src="img/katoshoot_go_img_02.png">
			<h5>您还没有相关订单</h5>
			<a>可以去看看有哪些想拍的</a>
		</div><!-- kaprompt_txt -->
		</div>
   			</c:when>  
   			<c:otherwise> 
   		
				
				
				<div class="order_list" style="margin-top: 30px;">
				<ul class="orderul_list" id="orderul_1">
					<c:forEach var="item" items="${orderThemeList}">
						<li style="margin-top: 10px;"><a class="ka_reltop"
							href="${path}/kaToShoot?orderId=${item.id}"
							style="padding: 10px; height: 100px; background-color: #f2f2f2; border-radius: 5px;">
								<div class="rel_img"
									style="border-radius: 0%; border-width: 0; width: 35%; height: 100px; margin: auto 0;">
									<img src="${path }${item.photo}"
										style="border-radius: 0%; width: 120px; height: 80px;">
									<span class="dummy"></span>
								</div>
								<div class="rel_txt" style="width: 50%; margin-left: 10px;">
									<span class="rel_tl" style="color: black;">${item.themeName}</span>
									<span class="rel_price" style="color: black;">￥<span
										style="color: black;">${item.price}</span></span> <span
										class="rel_name" style="color: black;">摄影师 |<span
										style="color: black;"> ${item.name}</span></span>
								</div>
								<div class="clear"></div> <img class="ka_relgo"
								src="img/icon/icon_nz_02.png" width="20px" height="20px">
						</a>
							<div class="relimg">
								<div class="relimgbg"></div>
							</div></li>
					</c:forEach>
				</ul>
			</div>
				
				
				
				
   			</c:otherwise>  
		</c:choose>  
	

	<div class="footer_copyright">
		<p><span>苏州知行合一网络科技有限公司</span>提供技术支持，版权所有</p>
	</div><!-- footer_copyright -->
</body>
</html>